<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>文章分类-编辑</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../layui-v2.8.0/css/layui.css" media="all">
    <script type="application/javascript" src="../../js/jquery-v3.6.3.min.js"></script>
    <script type="application/javascript" src="../../js/jquery.cookie.min.js"></script>
    <script type="application/javascript" src="../../layui-v2.8.0/layui.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../layui-v2.8.0/modules/all.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../layui-v2.8.0/lay-config.js?v=2.0.0" charset="utf-8"></script>
    <script type="application/javascript" src="../../html-js/index.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../html-js/common.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../html-js/blog/sort.js" charset="utf-8"></script>
    <script type="application/javascript" src="../../html-js/header.js" charset="utf-8"></script>

</head>
<body>
<form class="sort-edit-add" style="margin: 0 auto;padding-top: 1rem;">
    <input class="id" name="id" style="display: none;"/>
    <div class="layui-form-item">
        <label class="layui-form-label required">文章分类名称</label>
        <div class="layui-input-block">
            <input type="text" name="sortTitle" lay-verify="required" lay-reqtext="文章分类名称不能为空" placeholder="请输入文章分类名称"
                   value="" class="layui-input sortTitle" autocomplete="off">
            <tip>填写文章分类名称。</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">文章分类描述</label>
        <div class="layui-input-block">
            <input type="text" name="sortValue" lay-verify="required" lay-reqtext="文章分类描述不能为空" placeholder="请输入文章分类名称"
                   value="" class="layui-input sortValue">
            <tip>填写文章分类描述。</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">文章分类图片注释</label>
        <div class="layui-input-block">
            <input type="text" name="sortImgAlert" lay-verify="required" lay-reqtext="文章分类图片注释不能为空"
                   placeholder="文章分类图片注释"
                   value="" class="layui-input sortImgAlert">
            <tip>填写文章分类图片注释。</tip>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">文章分类图片</label>
        <div class="layui-input-inline">
            <!--图片名-->
            <input id="fileName" type="text" lay-verify="fileName"
                   autocomplete="off" class="layui-input" disabled>

        </div>

        <!--隐藏输入框,用来存放上传后图片路径-->
        <input id="credential_hide" name="credentialOne" type="hidden" lay-verify="credentialOne"
               autocomplete="off" class="layui-input">
        <!--隐藏按钮,上传-->
        <button id="upload_img" type="button" hidden></button>
        <button class="layui-btn" id="preview_img" type="button">上传图片</button>
    </div>
    <!--折叠面板-->
    <div class="layui-form-item">
        <label class="layui-form-label"> </label>
        <div class="layui-input-inline" id="colla_img" style="">
        </div>
    </div>

    <div class="layui-form-item" style="text-align: center">
        <div class="layui-input-block">
            <button class="layui-btn layui-btn-normal" lay-submit lay-filter="saveSortBtn">确认保存</button>
        </div>
    </div>
</form>
</div>

</body>
</html>